<?php 
class Goods_detailModel extends Model{
	// 定义表名
	public $table = 'f_goods_detail';
	// 自动验证
	public $validate = array(
		array('gdetail','nonull','商品详情不能为空',2,3),
		array('after_sale','nonull','售后服务不能为空',2,3),
		);
}














 ?>